﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Model;
using System.Net.Http;

namespace EasyUIDemo.MVC.Controllers
{
    public class HomeController : Controller
    {
        //
        // GET: /Home/
        public ActionResult Index()
        {
            Common.list();
            return View();
        }
        public ActionResult Login()
        {
            return View();
        }
        
        public ActionResult hhh()
        {
           
            return View();
        }
        //[HttpPost]
        //public string hh()
        //{
        //    using (HttpClient client = new HttpClient())
        //    {
        //        string url = "";
        //        var result = client.GetAsync(url).Result;
        //        if (result.IsSuccessStatusCode)
        //        {
        //            return result.Content.ReadAsStringAsync().Result;
        //        }
        //        return "1";
        //    }
            
        //}
        
        /// <summary>
        /// iframe获取视图
        /// </summary>
        /// <returns></returns>
    }
}
